package cn.com.jinhao.provider.business.entity;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 撤单实体类
 *
 * @author Shaneroy
 * @since 2020-04-08 11:33:25
 */
@Data
@ToString
@Table(name = "BT$EVRV")
public class WorkOrderCanceled extends Base implements Serializable {
    private static final long serialVersionUID = 578439589230555299L;
    /**
     * 事件编码
     */
    @Column(name = "BT$EVIF_CODE")
    protected String eventInformationCode;

    /**
     * 派单编码
     */
    @Column(name = "BT$EVAS_CODE")
    private String dispatchCode;
    /**
     * 数据快照
     */
    @Column(name = "evrv")
    private String evrv;
    /**
     * 申请单位编码
     */
    @Column(name = "ST$DEPT_CODE_A")
    private String supplyDeptCode;
    /**
     * 申请单位
     */
    @Column(name = "ST$DEPT_DEPT_A")
    private String supplyDept;
    /**
     * 申请人编码
     */
    @Column(name = "ST$OPER_CODE_A")
    private String supplierCode;
    /**
     * 申请人
     */
    @Column(name = "ST$OPER_OPER_A")
    private String supplier;
    /**
     * 审核单位编码
     */
    @Column(name = "ST$DEPT_CODE_B")
    private String auditDeptCode;
    /**
     * 审核单位
     */
    @Column(name = "ST$DEPT_DEPT_B")
    private String auditDept;
    /**
     * 审核人编码
     */
    @Column(name = "ST$OPER_CODE_B")
    private String auditorCode;
    /**
     * 审核人
     */
    @Column(name = "ST$OPER_OPER_B")
    private String auditor;
    /**
     * 接收单位编码
     */
    @Column(name = "ST$DEPT_CODE_C")
    private String receiveDeptCode;
    /**
     * 接收单位
     */
    @Column(name = "ST$DEPT_DEPT_C")
    private String receiveDept;
    /**
     * 接收人编码
     */
    @Column(name = "ST$OPER_CODE_C")
    private String receiverCode;
    /**
     * 接收人
     */
    @Column(name = "ST$OPER_OPER_C")
    private String receiver;
    /**
     * 接收联系人编码
     */
    @Column(name = "ST$TLBK_CODE")
    private String receiveContractCode;
    /**
     * 接收联系人
     */
    @Column(name = "ST$TLBK_TLBK")
    private String receiveContract;
    /**
     * 申请提交时间
     */
    @Column(name = "sbdt")
    private Date supplyConfirmDate;
    /**
     * 申请附言
     */
    @Column(name = "sbct")
    private String supplyDemo;
    /**
     * 审核时间
     */
    @Column(name = "addt")
    private Date auditDate;
    /**
     * 审核附言
     */
    @Column(name = "adct")
    private String auditDemo;
    /**
     * 审核结果   未审核： -1   驳回： 0  通过： 1
     */
    @Column(name = "isrv")
    private String auditResult;
    /**
     * 超时处理
     */
    @Column(name = "ovtl")
    private Integer timeoutProcess;
}